package com.example.demo.Enum;

import lombok.Getter;

/**
 * @Author: ElonChung
 * @Date: 2020/5/11 17:44
 * @Description: DynamicDataSourceEnum
 */
@Getter
public enum DynamicDataSourceEnum {

    MASTER("master"),
    SLAVE("slave");
    private String dataSourceName;

    DynamicDataSourceEnum(String dataSourceName) {
        this.dataSourceName = dataSourceName;
    }
}